<%@ include file="../system/HeaderStrutsForm.jsp" %>
<html>
  <head>

    <bean:message key="page.css"/>
    <bean:message key="page.script"/>
  </head>
  <center>
    <body>
      <table class="mainTable" style='width:99%;'>
        <tr>
          <td>
            <html:form 
                action="Hardware/PesquisarProcessadorForm.do"
                method="POST"
                onsubmit="return confirmSubmit('');"
                scope="session"
                styleClass="baseForm"
                target="_self">


              <table class="bannerTable" style='width:99%;'>
                <tr>
                  <td class=tableHeader>
                    Pesquisar Processador
                  </td>
                </tr>
              </table>
              <table class="messageTable" style='width:99%;'>
                <tr>
                  <td class="messageHeader">
                    <bean:message key="div.campos*"/>
                    <html:errors/>
                  </td>
                </tr>
              </table>
              <table class="itemTable" style='width:99%;'>
                <html:hidden property="proc_id"/>
                <tr>
                  <td class="formLabel">
                    <span class="spamFormLabel" >
                      Nome
                    </span>
                  </td>
                  <td class="formField">
                    <html:text 
                        property="proc_nome"
                        styleClass="baseField"
                        size="50"
                        maxlength="50"/>
                  </td>
                </tr>
                <tr>
                  <td class="formLabel">
                    <span class="spamFormLabel" >
                      Processador(es)
                    </span>
                  </td>
                  <td class="formField">
                    <display:table 
                        name="processadores"
                        scope="session"
                        class="displayTag"
                        pagesize="10"
                        decorator="br.com.werp.regras.suporte.visao.decorador.ProcessadorDecorator"
                    >



                      <display:column property="proc_id" title="Nome" />


                    </display:table>
                  </td>
                </tr>
              </table>
              <table class="buttonTable" style='width:99%;'>
                <tr>
                  <td class="buttonItem">
                    <html:submit 
                        value="Pesquisar"
                        styleClass="baseButton"
                        property="pesquisar_action">


                    </html:submit>
                    <html:submit 
                        accesskey="r"
                        styleClass="baseButton"
                        property="resetfull_action">


                      <bean:message 
                          bundle="ApplicationResources"
                          key="jsp.reset"/>
                    </html:submit>
                  </td>
                </tr>
              </table>
            </html:form>

          </td>
        </tr>
      </table>
    </body>
  </center>
</html>
